package o.gwtp.editor.client.welcome;

import o.gwtp.editor.client.welcome.WelcomePresenter.MyView;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Widget;
import com.gwtplatform.mvp.client.ViewImpl;

/**
 * @author Christian Goudreau
 */
public class WelcomeView extends ViewImpl implements MyView {
  private static Binder uiBinder = GWT.create(Binder.class);

  interface Binder extends UiBinder<Widget, WelcomeView> {
  }

  private final Widget widget;

  public WelcomeView() {
    widget = uiBinder.createAndBindUi(this);
  }

  @Override
  public Widget asWidget() {
    return widget;
  }
}
